package com.panda.progress.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.panda.progress.entity.MyCourses;
import com.panda.progress.entity.Progress;

public interface ProgressMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Progress record);

    int insertSelective(Progress record);

    Progress selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Progress record);

    int updateByPrimaryKey(Progress record);
    
    MyCourses  findMyCourses(@Param("uid") Long uid,@Param("gid") Long gid);

	List<Progress> findByUId(@Param("uid") Long uid, @Param("gid") Long gid);
}